<template>
	<div class="userAgreement_page layer">
		<van-nav-bar :title="$t('userAgreement.title')" left-arrow @click-left="$router.go(-1)" :border="false" />
		<div class="cont" v-html="info.content">

		</div>
	</div>
</template>

<script>
	import {
		commonGywm
	} from '@/api/my.js'
	export default {
		components: {},
		data() {
			return {
				info: '',
			}
		},
		computed: {},
		watch: {},
		mounted() {
			this.getInfo()
		},
		methods: {
			async getInfo() {
				const res = await commonGywm({
					daihao: 'xieyi'
				})
				// console.log('res', res);
				if (res && res.code == 1) {
					this.info = res.data
				} else {
					this.$toast.fail(res.msg)
				}
			}
		}
	}
</script>

<style lang="less" scoped>
	.userAgreement_page {
		min-height: 100vh;
		// overflow-y: scroll;
		// -webkit-overflow-scrolling: touch;
		text-align: left;
	}
</style>